package com.chilly.other.datastructer;

/**
 *  定义单向链表的结构
 * Created by Chilly Cui on 2021/1/7.
 */
public class LLNode<T> {

    private T data;
    private LLNode next;

    public LLNode() {
    }

    public LLNode(T data) {
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public LLNode getNext() {
        return next;
    }

    public void setNext(LLNode next) {
        this.next = next;
    }
}
